home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
batchut
/
enqr_25.zip
/
enq-num.bat
< prev
next >
Wrap
DOS Batch File
|
1994-05-19
|
630b
|
33 lines
@echo off
rem Demonstrates using numeric input of Enquire
:start
echo The tastiest flavor of ice cream is:
echo 1. vanilla 3. rocky road
echo 2. chocolate 4. pistachio
enquire -# -l "\n\rPick a flavor: "
if errorlevel 5 goto start
if errorlevel 4 goto pista
if errorlevel 3 goto rockroad
if errorlevel 2 goto choco
if errorlevel 1 goto vani
goto start
:vani
enquire -z "\nNot very creative, are you?\n\r"
goto exit
:choco
enquire -z "\nDoesn\'t everybody like chocolate?\n\r"
goto exit
:rockroad
enquire -z "\nDaring, eh?\n\r"
goto exit
:pista
enquire -z "\n*chuckle*\n\r"
:exit